Dataset statistics
| Number of variables | 13 |
|---|---|
| Number of observations | 2968 |
| Missing cells | 0 |
| Missing cells (%) | 0.0% |
| Duplicate rows | 0 |
| Duplicate rows (%) | 0.0% |
| Total size in memory | 301.6 KiB |
| Average record size in memory | 104.0 B |
Variable types
| Numeric | 13 |
|---|
gross_revenue is highly correlated with qtde_invoices and 3 other fields | High correlation |
recency_days is highly correlated with qtde_invoices | High correlation |
qtde_invoices is highly correlated with gross_revenue and 3 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 3 other fields | High correlation |
qtde_products is highly correlated with gross_revenue and 3 other fields | High correlation |
avg_ticket is highly correlated with avg_unique_basket_size | High correlation |
avg_recency_days is highly correlated with frequency | High correlation |
frequency is highly correlated with avg_recency_days | High correlation |
avg_basket_size is highly correlated with gross_revenue and 1 other fields | High correlation |
avg_unique_basket_size is highly correlated with qtde_products and 1 other fields | High correlation |
gross_revenue is highly correlated with qtde_invoices and 1 other fields | High correlation |
qtde_invoices is highly correlated with gross_revenue and 2 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 1 other fields | High correlation |
qtde_products is highly correlated with qtde_invoices | High correlation |
avg_ticket is highly correlated with qtde_returns and 1 other fields | High correlation |
qtde_returns is highly correlated with avg_ticket | High correlation |
avg_basket_size is highly correlated with avg_ticket | High correlation |
gross_revenue is highly correlated with qtde_invoices and 2 other fields | High correlation |
qtde_invoices is highly correlated with gross_revenue and 2 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 3 other fields | High correlation |
qtde_products is highly correlated with gross_revenue and 2 other fields | High correlation |
avg_recency_days is highly correlated with frequency | High correlation |
frequency is highly correlated with avg_recency_days | High correlation |
avg_basket_size is highly correlated with qtde_items | High correlation |
gross_revenue is highly correlated with qtde_invoices and 4 other fields | High correlation |
qtde_invoices is highly correlated with gross_revenue and 3 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 4 other fields | High correlation |
qtde_products is highly correlated with gross_revenue and 3 other fields | High correlation |
avg_ticket is highly correlated with qtde_returns and 1 other fields | High correlation |
qtde_returns is highly correlated with gross_revenue and 5 other fields | High correlation |
avg_basket_size is highly correlated with gross_revenue and 4 other fields | High correlation |
avg_unique_basket_size is highly correlated with avg_basket_size | High correlation |
avg_ticket is highly skewed (γ1 = 25.15706781) | Skewed |
frequency is highly skewed (γ1 = 24.87675009) | Skewed |
qtde_returns is highly skewed (γ1 = 21.9754032) | Skewed |
df_index has unique values | Unique |
customer_id has unique values | Unique |
recency_days has 33 (1.1%) zeros | Zeros |
qtde_returns has 1481 (49.9%) zeros | Zeros |
Reproduction
| Analysis started | 2021-12-04 23:54:36.984304 |
|---|---|
| Analysis finished | 2021-12-04 23:54:57.194336 |
| Duration | 20.21 seconds |
| Software version | pandas-profiling v3.1.0 |
| Download configuration | config.json |
| Distinct | 2968 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 2334.939353 |
| Minimum | 0 |
|---|---|
| Maximum | 5766 |
| Zeros | 1 |
| Zeros (%) | < 0.1% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 185.35 |
| Q1 | 936.5 |
| median | 2135.5 |
| Q3 | 3563.25 |
| 95-th percentile | 5079.3 |
| Maximum | 5766 |
| Range | 5766 |
| Interquartile range (IQR) | 2626.75 |
Descriptive statistics
| Standard deviation | 1568.287987 |
|---|---|
| Coefficient of variation (CV) | 0.6716611224 |
| Kurtosis | -1.006531709 |
| Mean | 2334.939353 |
| Median Absolute Deviation (MAD) | 1280 |
| Skewness | 0.3457441718 |
| Sum | 6930100 |
| Variance | 2459527.209 |
| Monotonicity | Strictly increasing |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 0 | 1 | < 0.1% |
| 3032 | 1 | < 0.1% |
| 3017 | 1 | < 0.1% |
| 3018 | 1 | < 0.1% |
| 3021 | 1 | < 0.1% |
| 3022 | 1 | < 0.1% |
| 3023 | 1 | < 0.1% |
| 3024 | 1 | < 0.1% |
| 3027 | 1 | < 0.1% |
| 3029 | 1 | < 0.1% |
| Other values (2958) | 2958 |
| Value | Count | Frequency (%) |
| 0 | 1 | |
| 1 | 1 | |
| 2 | 1 | |
| 3 | 1 | |
| 4 | 1 | |
| 5 | 1 | |
| 6 | 1 | |
| 7 | 1 | |
| 8 | 1 | |
| 9 | 1 |
| Value | Count | Frequency (%) |
| 5766 | 1 | |
| 5747 | 1 | |
| 5737 | 1 | |
| 5731 | 1 | |
| 5710 | 1 | |
| 5706 | 1 | |
| 5700 | 1 | |
| 5689 | 1 | |
| 5688 | 1 | |
| 5678 | 1 |
| Distinct | 2968 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 15270.37702 |
| Minimum | 12347 |
|---|---|
| Maximum | 18287 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 12347 |
|---|---|
| 5-th percentile | 12619.35 |
| Q1 | 13798.75 |
| median | 15220.5 |
| Q3 | 16768.5 |
| 95-th percentile | 17964.65 |
| Maximum | 18287 |
| Range | 5940 |
| Interquartile range (IQR) | 2969.75 |
Descriptive statistics
| Standard deviation | 1719.144523 |
|---|---|
| Coefficient of variation (CV) | 0.1125803587 |
| Kurtosis | -1.206178196 |
| Mean | 15270.37702 |
| Median Absolute Deviation (MAD) | 1489 |
| Skewness | 0.03219371129 |
| Sum | 45322479 |
| Variance | 2955457.892 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 17850 | 1 | < 0.1% |
| 12670 | 1 | < 0.1% |
| 17734 | 1 | < 0.1% |
| 14905 | 1 | < 0.1% |
| 16103 | 1 | < 0.1% |
| 14626 | 1 | < 0.1% |
| 14868 | 1 | < 0.1% |
| 18246 | 1 | < 0.1% |
| 17115 | 1 | < 0.1% |
| 16611 | 1 | < 0.1% |
| Other values (2958) | 2958 |
| Value | Count | Frequency (%) |
| 12347 | 1 | |
| 12348 | 1 | |
| 12352 | 1 | |
| 12356 | 1 | |
| 12358 | 1 | |
| 12359 | 1 | |
| 12360 | 1 | |
| 12362 | 1 | |
| 12364 | 1 | |
| 12370 | 1 |
| Value | Count | Frequency (%) |
| 18287 | 1 | |
| 18283 | 1 | |
| 18282 | 1 | |
| 18277 | 1 | |
| 18276 | 1 | |
| 18274 | 1 | |
| 18273 | 1 | |
| 18272 | 1 | |
| 18270 | 1 | |
| 18269 | 1 |
| Distinct | 2953 |
|---|---|
| Distinct (%) | 99.5% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 2693.389373 |
| Minimum | 6.2 |
|---|---|
| Maximum | 279138.02 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 6.2 |
|---|---|
| 5-th percentile | 229.7325 |
| Q1 | 570.845 |
| median | 1085.51 |
| Q3 | 2306.905 |
| 95-th percentile | 7169.562 |
| Maximum | 279138.02 |
| Range | 279131.82 |
| Interquartile range (IQR) | 1736.06 |
Descriptive statistics
| Standard deviation | 10135.32607 |
|---|---|
| Coefficient of variation (CV) | 3.763037818 |
| Kurtosis | 397.3184084 |
| Mean | 2693.389373 |
| Median Absolute Deviation (MAD) | 671.39 |
| Skewness | 17.63574461 |
| Sum | 7993979.66 |
| Variance | 102724834.5 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1078.96 | 2 | 0.1% |
| 2053.02 | 2 | 0.1% |
| 331 | 2 | 0.1% |
| 1353.74 | 2 | 0.1% |
| 889.93 | 2 | 0.1% |
| 745.06 | 2 | 0.1% |
| 379.65 | 2 | 0.1% |
| 2092.32 | 2 | 0.1% |
| 731.9 | 2 | 0.1% |
| 734.94 | 2 | 0.1% |
| Other values (2943) | 2948 |
| Value | Count | Frequency (%) |
| 6.2 | 1 | |
| 13.3 | 1 | |
| 15 | 1 | |
| 36.56 | 1 | |
| 45 | 1 | |
| 52 | 1 | |
| 52.2 | 1 | |
| 52.2 | 1 | |
| 62.43 | 1 | |
| 68.84 | 1 |
| Value | Count | Frequency (%) |
| 279138.02 | 1 | |
| 259657.3 | 1 | |
| 194550.79 | 1 | |
| 140438.72 | 1 | |
| 124564.53 | 1 | |
| 117375.63 | 1 | |
| 91062.38 | 1 | |
| 72882.09 | 1 | |
| 66653.56 | 1 | |
| 65019.62 | 1 |
| Distinct | 272 |
|---|---|
| Distinct (%) | 9.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 64.31030997 |
| Minimum | 0 |
|---|---|
| Maximum | 373 |
| Zeros | 33 |
| Zeros (%) | 1.1% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 2 |
| Q1 | 11 |
| median | 31 |
| Q3 | 81 |
| 95-th percentile | 242 |
| Maximum | 373 |
| Range | 373 |
| Interquartile range (IQR) | 70 |
Descriptive statistics
| Standard deviation | 77.76031378 |
|---|---|
| Coefficient of variation (CV) | 1.209142264 |
| Kurtosis | 2.77659321 |
| Mean | 64.31030997 |
| Median Absolute Deviation (MAD) | 26 |
| Skewness | 1.79807024 |
| Sum | 190873 |
| Variance | 6046.666399 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1 | 99 | 3.3% |
| 4 | 87 | 2.9% |
| 2 | 85 | 2.9% |
| 3 | 85 | 2.9% |
| 8 | 76 | 2.6% |
| 10 | 67 | 2.3% |
| 9 | 66 | 2.2% |
| 7 | 66 | 2.2% |
| 17 | 64 | 2.2% |
| 22 | 55 | 1.9% |
| Other values (262) | 2218 |
| Value | Count | Frequency (%) |
| 0 | 33 | 1.1% |
| 1 | 99 | |
| 2 | 85 | |
| 3 | 85 | |
| 4 | 87 | |
| 5 | 43 | |
| 7 | 66 | |
| 8 | 76 | |
| 9 | 66 | |
| 10 | 67 |
| Value | Count | Frequency (%) |
| 373 | 2 | |
| 372 | 4 | |
| 371 | 1 | < 0.1% |
| 368 | 1 | < 0.1% |
| 366 | 4 | |
| 365 | 2 | |
| 364 | 1 | < 0.1% |
| 360 | 1 | < 0.1% |
| 359 | 1 | < 0.1% |
| 358 | 4 |
| Distinct | 56 |
|---|---|
| Distinct (%) | 1.9% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 5.724056604 |
| Minimum | 1 |
|---|---|
| Maximum | 206 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 1 |
| Q1 | 2 |
| median | 4 |
| Q3 | 6 |
| 95-th percentile | 17 |
| Maximum | 206 |
| Range | 205 |
| Interquartile range (IQR) | 4 |
Descriptive statistics
| Standard deviation | 8.857882575 |
|---|---|
| Coefficient of variation (CV) | 1.5474834 |
| Kurtosis | 190.7771511 |
| Mean | 5.724056604 |
| Median Absolute Deviation (MAD) | 2 |
| Skewness | 10.76520644 |
| Sum | 16989 |
| Variance | 78.46208371 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 2 | 785 | |
| 3 | 498 | |
| 4 | 393 | |
| 5 | 237 | 8.0% |
| 1 | 190 | 6.4% |
| 6 | 173 | 5.8% |
| 7 | 138 | 4.6% |
| 8 | 98 | 3.3% |
| 9 | 69 | 2.3% |
| 10 | 55 | 1.9% |
| Other values (46) | 332 |
| Value | Count | Frequency (%) |
| 1 | 190 | 6.4% |
| 2 | 785 | |
| 3 | 498 | |
| 4 | 393 | |
| 5 | 237 | 8.0% |
| 6 | 173 | 5.8% |
| 7 | 138 | 4.6% |
| 8 | 98 | 3.3% |
| 9 | 69 | 2.3% |
| 10 | 55 | 1.9% |
| Value | Count | Frequency (%) |
| 206 | 1 | |
| 199 | 1 | |
| 124 | 1 | |
| 97 | 1 | |
| 91 | 2 | |
| 86 | 1 | |
| 72 | 1 | |
| 62 | 2 | |
| 60 | 1 | |
| 57 | 1 |
| Distinct | 1664 |
|---|---|
| Distinct (%) | 56.1% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 1579.712264 |
| Minimum | 1 |
|---|---|
| Maximum | 196844 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 101.35 |
| Q1 | 296 |
| median | 638 |
| Q3 | 1398.25 |
| 95-th percentile | 4403.25 |
| Maximum | 196844 |
| Range | 196843 |
| Interquartile range (IQR) | 1102.25 |
Descriptive statistics
| Standard deviation | 5700.529956 |
|---|---|
| Coefficient of variation (CV) | 3.608587516 |
| Kurtosis | 518.1228414 |
| Mean | 1579.712264 |
| Median Absolute Deviation (MAD) | 419 |
| Skewness | 18.7602581 |
| Sum | 4688586 |
| Variance | 32496041.78 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 310 | 11 | 0.4% |
| 88 | 9 | 0.3% |
| 150 | 9 | 0.3% |
| 260 | 8 | 0.3% |
| 84 | 8 | 0.3% |
| 288 | 8 | 0.3% |
| 272 | 8 | 0.3% |
| 246 | 8 | 0.3% |
| 516 | 7 | 0.2% |
| 394 | 7 | 0.2% |
| Other values (1654) | 2885 |
| Value | Count | Frequency (%) |
| 1 | 1 | |
| 2 | 2 | |
| 12 | 2 | |
| 16 | 1 | |
| 17 | 1 | |
| 18 | 1 | |
| 19 | 1 | |
| 20 | 1 | |
| 23 | 1 | |
| 25 | 1 |
| Value | Count | Frequency (%) |
| 196844 | 1 | |
| 79963 | 1 | |
| 77373 | 1 | |
| 69993 | 1 | |
| 64549 | 1 | |
| 64124 | 1 | |
| 62812 | 1 | |
| 58243 | 1 | |
| 57785 | 1 | |
| 50255 | 1 |
| Distinct | 469 |
|---|---|
| Distinct (%) | 15.8% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 122.7456199 |
| Minimum | 1 |
|---|---|
| Maximum | 7837 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 9 |
| Q1 | 29 |
| median | 67 |
| Q3 | 135 |
| 95-th percentile | 382 |
| Maximum | 7837 |
| Range | 7836 |
| Interquartile range (IQR) | 106 |
Descriptive statistics
| Standard deviation | 269.8785162 |
|---|---|
| Coefficient of variation (CV) | 2.198681439 |
| Kurtosis | 354.7550751 |
| Mean | 122.7456199 |
| Median Absolute Deviation (MAD) | 44 |
| Skewness | 15.70464041 |
| Sum | 364309 |
| Variance | 72834.41353 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 28 | 45 | 1.5% |
| 20 | 38 | 1.3% |
| 35 | 35 | 1.2% |
| 15 | 33 | 1.1% |
| 29 | 33 | 1.1% |
| 19 | 33 | 1.1% |
| 11 | 32 | 1.1% |
| 26 | 31 | 1.0% |
| 27 | 30 | 1.0% |
| 25 | 29 | 1.0% |
| Other values (459) | 2629 |
| Value | Count | Frequency (%) |
| 1 | 6 | 0.2% |
| 2 | 14 | |
| 3 | 15 | |
| 4 | 17 | |
| 5 | 26 | |
| 6 | 29 | |
| 7 | 18 | |
| 8 | 19 | |
| 9 | 27 | |
| 10 | 27 |
| Value | Count | Frequency (%) |
| 7837 | 1 | |
| 5670 | 1 | |
| 5095 | 1 | |
| 4577 | 1 | |
| 2698 | 1 | |
| 2379 | 1 | |
| 2060 | 1 | |
| 1818 | 1 | |
| 1673 | 1 | |
| 1636 | 1 |
| Distinct | 2965 |
|---|---|
| Distinct (%) | 99.9% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 32.99655282 |
| Minimum | 2.150588235 |
|---|---|
| Maximum | 4453.43 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 2.150588235 |
|---|---|
| 5-th percentile | 4.915887985 |
| Q1 | 13.11811111 |
| median | 17.96548505 |
| Q3 | 24.98179365 |
| 95-th percentile | 90.052125 |
| Maximum | 4453.43 |
| Range | 4451.279412 |
| Interquartile range (IQR) | 11.86368254 |
Descriptive statistics
| Standard deviation | 119.5318165 |
|---|---|
| Coefficient of variation (CV) | 3.622554671 |
| Kurtosis | 812.969606 |
| Mean | 32.99655282 |
| Median Absolute Deviation (MAD) | 5.980669355 |
| Skewness | 25.15706781 |
| Sum | 97933.76878 |
| Variance | 14287.85517 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 15 | 2 | 0.1% |
| 4.162 | 2 | 0.1% |
| 14.47833333 | 2 | 0.1% |
| 18.15222222 | 1 | < 0.1% |
| 13.92736842 | 1 | < 0.1% |
| 36.24411765 | 1 | < 0.1% |
| 29.78416667 | 1 | < 0.1% |
| 22.8792623 | 1 | < 0.1% |
| 20.51104167 | 1 | < 0.1% |
| 149.025 | 1 | < 0.1% |
| Other values (2955) | 2955 |
| Value | Count | Frequency (%) |
| 2.150588235 | 1 | |
| 2.4325 | 1 | |
| 2.462371134 | 1 | |
| 2.511241379 | 1 | |
| 2.515333333 | 1 | |
| 2.65 | 1 | |
| 2.656931818 | 1 | |
| 2.707598253 | 1 | |
| 2.760621572 | 1 | |
| 2.770464191 | 1 |
| Value | Count | Frequency (%) |
| 4453.43 | 1 | |
| 3202.92 | 1 | |
| 1687.2 | 1 | |
| 952.9875 | 1 | |
| 872.13 | 1 | |
| 841.0214493 | 1 | |
| 651.1683333 | 1 | |
| 640 | 1 | |
| 624.4 | 1 | |
| 615.75 | 1 |
| Distinct | 1258 |
|---|---|
| Distinct (%) | 42.4% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 67.30505288 |
| Minimum | 1 |
|---|---|
| Maximum | 366 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 8 |
| Q1 | 25.9271978 |
| median | 48.26785714 |
| Q3 | 85.33333333 |
| 95-th percentile | 200.65 |
| Maximum | 366 |
| Range | 365 |
| Interquartile range (IQR) | 59.40613553 |
Descriptive statistics
| Standard deviation | 63.50325927 |
|---|---|
| Coefficient of variation (CV) | 0.9435139941 |
| Kurtosis | 4.908645262 |
| Mean | 67.30505288 |
| Median Absolute Deviation (MAD) | 26.26785714 |
| Skewness | 2.06622239 |
| Sum | 199761.397 |
| Variance | 4032.663938 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 14 | 25 | 0.8% |
| 4 | 22 | 0.7% |
| 70 | 21 | 0.7% |
| 7 | 20 | 0.7% |
| 35 | 19 | 0.6% |
| 49 | 18 | 0.6% |
| 11 | 17 | 0.6% |
| 46 | 17 | 0.6% |
| 21 | 17 | 0.6% |
| 28 | 16 | 0.5% |
| Other values (1248) | 2776 |
| Value | Count | Frequency (%) |
| 1 | 16 | |
| 1.5 | 1 | < 0.1% |
| 2 | 13 | |
| 2.5 | 1 | < 0.1% |
| 2.601398601 | 1 | < 0.1% |
| 3 | 15 | |
| 3.321428571 | 1 | < 0.1% |
| 3.330357143 | 1 | < 0.1% |
| 3.5 | 2 | 0.1% |
| 4 | 22 |
| Value | Count | Frequency (%) |
| 366 | 1 | < 0.1% |
| 365 | 1 | < 0.1% |
| 363 | 1 | < 0.1% |
| 362 | 1 | < 0.1% |
| 357 | 2 | |
| 356 | 1 | < 0.1% |
| 355 | 2 | |
| 352 | 1 | < 0.1% |
| 351 | 2 | |
| 350 | 3 |
| Distinct | 1225 |
|---|---|
| Distinct (%) | 41.3% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 0.1138262908 |
| Minimum | 0.005449591281 |
|---|---|
| Maximum | 17 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0.005449591281 |
|---|---|
| 5-th percentile | 0.008893504781 |
| Q1 | 0.01633986928 |
| median | 0.02589835169 |
| Q3 | 0.04942659085 |
| 95-th percentile | 1 |
| Maximum | 17 |
| Range | 16.99455041 |
| Interquartile range (IQR) | 0.03308672157 |
Descriptive statistics
| Standard deviation | 0.4082214549 |
|---|---|
| Coefficient of variation (CV) | 3.586354717 |
| Kurtosis | 989.0590635 |
| Mean | 0.1138262908 |
| Median Absolute Deviation (MAD) | 0.0121968864 |
| Skewness | 24.87675009 |
| Sum | 337.8364311 |
| Variance | 0.1666447562 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1 | 198 | 6.7% |
| 0.02777777778 | 17 | 0.6% |
| 0.0625 | 17 | 0.6% |
| 0.02380952381 | 16 | 0.5% |
| 0.09090909091 | 15 | 0.5% |
| 0.08333333333 | 15 | 0.5% |
| 0.03448275862 | 14 | 0.5% |
| 0.02941176471 | 14 | 0.5% |
| 0.03571428571 | 13 | 0.4% |
| 0.07692307692 | 13 | 0.4% |
| Other values (1215) | 2636 |
| Value | Count | Frequency (%) |
| 0.005449591281 | 1 | < 0.1% |
| 0.005464480874 | 1 | < 0.1% |
| 0.005479452055 | 1 | < 0.1% |
| 0.005494505495 | 1 | < 0.1% |
| 0.005586592179 | 2 | |
| 0.005602240896 | 1 | < 0.1% |
| 0.005617977528 | 2 | |
| 0.00566572238 | 1 | < 0.1% |
| 0.005681818182 | 2 | |
| 0.005698005698 | 3 |
| Value | Count | Frequency (%) |
| 17 | 1 | < 0.1% |
| 3 | 1 | < 0.1% |
| 2 | 6 | 0.2% |
| 1.142857143 | 1 | < 0.1% |
| 1 | 198 | |
| 0.75 | 1 | < 0.1% |
| 0.6666666667 | 3 | 0.1% |
| 0.550802139 | 1 | < 0.1% |
| 0.5335120643 | 1 | < 0.1% |
| 0.5 | 3 | 0.1% |
| Distinct | 213 |
|---|---|
| Distinct (%) | 7.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 34.88847709 |
| Minimum | 0 |
|---|---|
| Maximum | 9014 |
| Zeros | 1481 |
| Zeros (%) | 49.9% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 0 |
| Q1 | 0 |
| median | 1 |
| Q3 | 9 |
| 95-th percentile | 100 |
| Maximum | 9014 |
| Range | 9014 |
| Interquartile range (IQR) | 9 |
Descriptive statistics
| Standard deviation | 282.864784 |
|---|---|
| Coefficient of variation (CV) | 8.107685048 |
| Kurtosis | 596.2019916 |
| Mean | 34.88847709 |
| Median Absolute Deviation (MAD) | 1 |
| Skewness | 21.9754032 |
| Sum | 103549 |
| Variance | 80012.48604 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 0 | 1481 | |
| 1 | 164 | 5.5% |
| 2 | 148 | 5.0% |
| 3 | 105 | 3.5% |
| 4 | 89 | 3.0% |
| 6 | 78 | 2.6% |
| 5 | 61 | 2.1% |
| 12 | 51 | 1.7% |
| 7 | 43 | 1.4% |
| 8 | 43 | 1.4% |
| Other values (203) | 705 |
| Value | Count | Frequency (%) |
| 0 | 1481 | |
| 1 | 164 | 5.5% |
| 2 | 148 | 5.0% |
| 3 | 105 | 3.5% |
| 4 | 89 | 3.0% |
| 5 | 61 | 2.1% |
| 6 | 78 | 2.6% |
| 7 | 43 | 1.4% |
| 8 | 43 | 1.4% |
| 9 | 41 | 1.4% |
| Value | Count | Frequency (%) |
| 9014 | 1 | |
| 8004 | 1 | |
| 4427 | 1 | |
| 3768 | 1 | |
| 3332 | 1 | |
| 2878 | 1 | |
| 2022 | 1 | |
| 2012 | 1 | |
| 1776 | 1 | |
| 1594 | 1 |
avg_basket_size
Real number (ℝ≥0)
HIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATION| Distinct | 1972 |
|---|---|
| Distinct (%) | 66.4% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 235.7885065 |
| Minimum | 1 |
|---|---|
| Maximum | 6009.333333 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 44 |
| Q1 | 103.2375 |
| median | 172 |
| Q3 | 281.375 |
| 95-th percentile | 598.345 |
| Maximum | 6009.333333 |
| Range | 6008.333333 |
| Interquartile range (IQR) | 178.1375 |
Descriptive statistics
| Standard deviation | 283.7237528 |
|---|---|
| Coefficient of variation (CV) | 1.203297637 |
| Kurtosis | 103.0742725 |
| Mean | 235.7885065 |
| Median Absolute Deviation (MAD) | 82.625 |
| Skewness | 7.717538936 |
| Sum | 699820.2873 |
| Variance | 80499.16789 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 100 | 11 | 0.4% |
| 114 | 10 | 0.3% |
| 73 | 9 | 0.3% |
| 86 | 9 | 0.3% |
| 82 | 9 | 0.3% |
| 88 | 8 | 0.3% |
| 75 | 8 | 0.3% |
| 60 | 8 | 0.3% |
| 136 | 8 | 0.3% |
| 130 | 7 | 0.2% |
| Other values (1962) | 2881 |
| Value | Count | Frequency (%) |
| 1 | 2 | |
| 2 | 1 | |
| 3.333333333 | 1 | |
| 5.333333333 | 1 | |
| 5.666666667 | 1 | |
| 6.142857143 | 1 | |
| 7.5 | 1 | |
| 9 | 1 | |
| 9.5 | 1 | |
| 11 | 1 |
| Value | Count | Frequency (%) |
| 6009.333333 | 1 | |
| 4282 | 1 | |
| 3906 | 1 | |
| 3868.65 | 1 | |
| 2880 | 1 | |
| 2801 | 1 | |
| 2733.944444 | 1 | |
| 2518.769231 | 1 | |
| 2160.333333 | 1 | |
| 2082.225806 | 1 |
| Distinct | 910 |
|---|---|
| Distinct (%) | 30.7% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 17.49039145 |
| Minimum | 0.2 |
|---|---|
| Maximum | 259 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0.2 |
|---|---|
| 5-th percentile | 2 |
| Q1 | 7.666666667 |
| median | 13.6 |
| Q3 | 22.03571429 |
| 95-th percentile | 46 |
| Maximum | 259 |
| Range | 258.8 |
| Interquartile range (IQR) | 14.36904762 |
Descriptive statistics
| Standard deviation | 15.4620774 |
|---|---|
| Coefficient of variation (CV) | 0.8840326672 |
| Kurtosis | 29.30304319 |
| Mean | 17.49039145 |
| Median Absolute Deviation (MAD) | 6.6 |
| Skewness | 3.434441407 |
| Sum | 51911.48183 |
| Variance | 239.0758377 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 13 | 43 | 1.4% |
| 9 | 42 | 1.4% |
| 16 | 41 | 1.4% |
| 8 | 39 | 1.3% |
| 17 | 37 | 1.2% |
| 14 | 37 | 1.2% |
| 7 | 36 | 1.2% |
| 11 | 36 | 1.2% |
| 5 | 34 | 1.1% |
| 15 | 34 | 1.1% |
| Other values (900) | 2589 |
| Value | Count | Frequency (%) |
| 0.2 | 1 | < 0.1% |
| 0.25 | 3 | 0.1% |
| 0.3333333333 | 6 | |
| 0.4 | 1 | < 0.1% |
| 0.4090909091 | 1 | < 0.1% |
| 0.5 | 12 | |
| 0.5454545455 | 1 | < 0.1% |
| 0.5555555556 | 1 | < 0.1% |
| 0.5714285714 | 1 | < 0.1% |
| 0.6176470588 | 1 | < 0.1% |
| Value | Count | Frequency (%) |
| 259 | 1 | |
| 177 | 1 | |
| 148 | 1 | |
| 127 | 1 | |
| 105 | 1 | |
| 104 | 1 | |
| 101 | 1 | |
| 98 | 1 | |
| 95.5 | 1 | |
| 94.33333333 | 1 |
Spearman's ρ
The Spearman's rank correlation coefficient (ρ) is a measure of monotonic correlation between two variables, and is therefore better in catching nonlinear monotonic correlations than Pearson's r. It's value lies between -1 and +1, -1 indicating total negative monotonic correlation, 0 indicating no monotonic correlation and 1 indicating total positive monotonic correlation.To calculate ρ for two variables X and Y, one divides the covariance of the rank variables of X and Y by the product of their standard deviations.
Pearson's r
The Pearson's correlation coefficient (r) is a measure of linear correlation between two variables. It's value lies between -1 and +1, -1 indicating total negative linear correlation, 0 indicating no linear correlation and 1 indicating total positive linear correlation. Furthermore, r is invariant under separate changes in location and scale of the two variables, implying that for a linear function the angle to the x-axis does not affect r.To calculate r for two variables X and Y, one divides the covariance of X and Y by the product of their standard deviations.
Kendall's τ
Similarly to Spearman's rank correlation coefficient, the Kendall rank correlation coefficient (τ) measures ordinal association between two variables. It's value lies between -1 and +1, -1 indicating total negative correlation, 0 indicating no correlation and 1 indicating total positive correlation.To calculate τ for two variables X and Y, one determines the number of concordant and discordant pairs of observations. τ is given by the number of concordant pairs minus the discordant pairs divided by the total number of pairs.
Phik (φk)
Phik (φk) is a new and practical correlation coefficient that works consistently between categorical, ordinal and interval variables, captures non-linear dependency and reverts to the Pearson correlation coefficient in case of a bivariate normal input distribution. There is extensive documentation available here. A simple visualization of nullity by column.
Nullity matrix is a data-dense display which lets you quickly visually pick out patterns in data completion.
First rows
| df_index | customer_id | gross_revenue | recency_days | qtde_invoices | qtde_items | qtde_products | avg_ticket | avg_recency_days | frequency | qtde_returns | avg_basket_size | avg_unique_basket_size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 17850 | 5391.21 | 372.00 | 34.00 | 1733.00 | 297.00 | 18.15 | 35.50 | 17.00 | 40.00 | 50.97 | 0.62 |
| 1 | 1 | 13047 | 3232.59 | 56.00 | 9.00 | 1390.00 | 171.00 | 18.90 | 27.25 | 0.03 | 35.00 | 154.44 | 11.67 |
| 2 | 2 | 12583 | 6705.38 | 2.00 | 15.00 | 5028.00 | 232.00 | 28.90 | 23.19 | 0.04 | 50.00 | 335.20 | 7.60 |
| 3 | 3 | 13748 | 948.25 | 95.00 | 5.00 | 439.00 | 28.00 | 33.87 | 92.67 | 0.02 | 0.00 | 87.80 | 4.80 |
| 4 | 4 | 15100 | 876.00 | 333.00 | 3.00 | 80.00 | 3.00 | 292.00 | 8.60 | 0.07 | 22.00 | 26.67 | 0.33 |
| 5 | 5 | 15291 | 4623.30 | 25.00 | 14.00 | 2102.00 | 102.00 | 45.33 | 23.20 | 0.04 | 29.00 | 150.14 | 4.36 |
| 6 | 6 | 14688 | 5630.87 | 7.00 | 21.00 | 3621.00 | 327.00 | 17.22 | 18.30 | 0.06 | 399.00 | 172.43 | 7.05 |
| 7 | 7 | 17809 | 5411.91 | 16.00 | 12.00 | 2057.00 | 61.00 | 88.72 | 35.70 | 0.03 | 41.00 | 171.42 | 3.83 |
| 8 | 8 | 15311 | 60767.90 | 0.00 | 91.00 | 38194.00 | 2379.00 | 25.54 | 4.14 | 0.24 | 474.00 | 419.71 | 6.23 |
| 9 | 9 | 16098 | 2005.63 | 87.00 | 7.00 | 613.00 | 67.00 | 29.93 | 47.67 | 0.02 | 0.00 | 87.57 | 4.86 |
Last rows
| df_index | customer_id | gross_revenue | recency_days | qtde_invoices | qtde_items | qtde_products | avg_ticket | avg_recency_days | frequency | qtde_returns | avg_basket_size | avg_unique_basket_size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2958 | 5678 | 17727 | 1060.25 | 15.00 | 1.00 | 645.00 | 66.00 | 16.06 | 6.00 | 1.00 | 6.00 | 645.00 | 66.00 |
| 2959 | 5688 | 17232 | 421.52 | 2.00 | 2.00 | 203.00 | 36.00 | 11.71 | 12.00 | 0.15 | 0.00 | 101.50 | 15.00 |
| 2960 | 5689 | 17468 | 137.00 | 10.00 | 2.00 | 116.00 | 5.00 | 27.40 | 4.00 | 0.40 | 0.00 | 58.00 | 2.50 |
| 2961 | 5700 | 13596 | 697.04 | 5.00 | 2.00 | 406.00 | 166.00 | 4.20 | 7.00 | 0.25 | 0.00 | 203.00 | 66.50 |
| 2962 | 5706 | 14893 | 1237.85 | 9.00 | 2.00 | 799.00 | 73.00 | 16.96 | 2.00 | 0.67 | 0.00 | 399.50 | 36.00 |
| 2963 | 5710 | 12479 | 473.20 | 11.00 | 1.00 | 382.00 | 30.00 | 15.77 | 4.00 | 1.00 | 34.00 | 382.00 | 30.00 |
| 2964 | 5731 | 14126 | 706.13 | 7.00 | 3.00 | 508.00 | 15.00 | 47.08 | 3.00 | 0.75 | 50.00 | 169.33 | 4.67 |
| 2965 | 5737 | 13521 | 1092.39 | 1.00 | 3.00 | 733.00 | 435.00 | 2.51 | 4.50 | 0.30 | 0.00 | 244.33 | 104.00 |
| 2966 | 5747 | 15060 | 301.84 | 8.00 | 4.00 | 262.00 | 120.00 | 2.52 | 1.00 | 2.00 | 0.00 | 65.50 | 20.00 |
| 2967 | 5766 | 12558 | 269.96 | 7.00 | 1.00 | 196.00 | 11.00 | 24.54 | 6.00 | 1.00 | 196.00 | 196.00 | 11.00 |